/*
 * nipc.h
 *
 *  Created on: 26/10/2011
 *      Author: utn_so
 */
#include<stdint.h>

#ifndef NIPC_H_
#define NIPC_H_

typedef struct paqueteNIPC{
    uint32_t num_msg;
    uint32_t longitud;
    char payload[520];
}__attribute__ ((packed)) paqueteNIPC;

typedef struct payloadEscritura{
	uint32_t sector;
	char contenido[512];
	uint32_t socket;
}__attribute__ ((packed)) payloadEscritura_t;

typedef struct datosPDD{
	uint32_t sectoresPorDisco;
	char nome[512];
}__attribute__ ((packed)) datosPDD_t;

#endif /* NIPC_H_ */
